package com.py.nginxanalysis;

import com.py.nginxanalysis.util.RunTimeTask;

import java.util.Calendar;
import java.util.Date;
import java.util.Timer;


public class Application {
    public static void main(String[] args) {
        RunTimeTask runTimeTask = new RunTimeTask();
        Calendar calendar= Calendar.getInstance();
        Date firstTime = calendar.getTime();
        long runTimeDelay = 1000 * 20;
        Timer timer = new Timer();
        System.out.println("线程开始");
        timer.schedule(runTimeTask,firstTime,runTimeDelay);
    }
}
